package com.segmentfault.mvc.service;

import com.segmentfault.mvc.entity.GoodsEntity;

import java.util.List;

public interface IGoodsService {
    List<GoodsEntity> findAll();
    GoodsEntity findById(Long goodsId);
    void add(GoodsEntity goodsEntity);
    void modify(GoodsEntity goodsEntity);
    void remove(Long goodId);
}
